Xbasic

a5w_UpdateWorkQueue Function

Syntax

L lResult = a5w_UpdateWorkQueue(P pValues ,P pResult )

Arguments

lResult

.t. or .f. depending on whether the command succeeded.

pValues

A dot variable that has in/out properties (explained below)

pResult

A dot variable that two properties, 'hasError' - .t./.f. and 'errorText' (if there is an error)

Description

Used in a Web application to update data in the Work Queue. pValues.id is the value of the entry to be update. pValues must contain values for all fields to be updated.

pValues is a dot variable. When you are inserting or updating a record, you must set these properties of pValues:

ID (Guid)
CreatedWhen (DateTime)
WorkType (C)
IsLocked (N)
SchedulatedStartTime (DateTime)
HandledBy (C)
IsCompleted (N)
CompletedDateTime (t)
Status (C)
WorkData (c)
ErrorMessage (c)
Message (c)

pValues.ID is the GUID primary key of the record and must be set on input.

Used in a Web application to update data in the Work Queue. pValues.id is the value of the entry to be update. pValues must contain values for all fields to be updated.

Limitations

Version 11 and later

See Also